package ssm.serviceImpl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import ssm.dao.UserDao;
import ssm.entity.User;

/**
 * Created by lu on 2017/6/24.
 */
@Service
@Transactional
public class UserServiceImpl {

    @Autowired
    private UserDao userDao;

    public User selectUserById(Long id) {
        return userDao.selectUserById(id);
    }
}
